package com.example.cloud.dao.basic.info;

import com.example.cloud.model.member.MemberDiscountProjectType;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by wangtao on 2018/6/6.
 */
@Repository
public interface MemberDiscountProjectTypeRepository extends JpaRepository<MemberDiscountProjectType,Long> {
    List<MemberDiscountProjectType> findByMemberIdAndExpired(Long memberId, int expired);
}
